package com.zysd.collection.scheduler.system.config;

import org.springframework.http.client.ClientHttpResponse;
import org.springframework.web.client.DefaultResponseErrorHandler;

import java.io.IOException;

/**
 * 自定义RestTemplate 异常处理
 *
 * @author liuht
 * @date 2017/11/10 16:55
 */
public class CustomRestErrorHandler extends DefaultResponseErrorHandler {

    @Override
    public void handleError(ClientHttpResponse response) throws IOException {
        super.handleError(response);
    }
}
